SRCS = Object.m Thread.m
OBJS = $(SRCS:.m=.o)
OUT = libxpobas.a

CC = @CC@
RANLIB = @RANLIB@
CFLAGS = @CFLAGS@ -I@abs_top_builddir@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@

all: $(OBJS)
	ar cr $(OUT) $(OBJS)
	ranlib $(OUT)

clean:
	rm -rf $(OBJS) $(OUT) *.o

.SUFFIXES: .m .o
.m.o:
	$(CC) $(CFLAGS) -c $<
